package com.yxk.bootvueshop.entity.vo;

import lombok.Data;

import java.io.Serializable;

@Data
public class ManagerVO implements Serializable {
    /**
     * id
     */
    private Integer id;

    /**
     * 角色名称
     */
    private String role_name;


    /**
     * 用户名称
     */
    private String username;

    /**
     * 注册时间
     */
    private Long create_time;


    /**
     * 手机号
     */
    private String mobile;


    /**
     * 邮箱
     */
    private String email;

    /**
     * 状态
     */
    private Byte mg_state;

    /**
     * 角色ID
     */
    private Byte role_id;

    public ManagerVO(Integer id, String role_name, String username, Long create_time, String mobile, String email, Byte mg_state) {
        this.id = id;
        this.role_name = role_name;
        this.username = username;
        this.create_time = create_time;
        this.mobile = mobile;
        this.email = email;
        this.mg_state = mg_state;
    }

    public ManagerVO(Integer id, String username, String mobile, String email, Byte rid,Long create_time) {
        this.id = id;
        this.username = username;
        this.mobile = mobile;
        this.email = email;
        this.role_id = rid;
        this.create_time = create_time;
    }


    public ManagerVO(Integer id, Byte role_id,String username, String mobile, String email, Byte mg_state) {
        this.id = id;
        this.username = username;
        this.mobile = mobile;
        this.email = email;
        this.mg_state = mg_state;
        this.role_id = role_id;
    }

    public ManagerVO(Integer mgId, String mgName, Byte roleId, String mgMobile, String mgEmail) {

        this.id = mgId;
        this.username = mgName;
        this.mobile = mgMobile;
        this.email = mgEmail;
        this.role_id = roleId;
    }
}
